package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.smart.village.big.screen.domain.NewsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MicroSmartMoHeTouristMapper {
    List<JSONObject> getHotelApartmentsSearch(String search, String category, String address, String merchantName, String shopName,
                                              String orderCondition, String orderType, String currentCoords,
                                              String distanceParam,
                                              String beginPrice,
                                              String endPrice, String villageNumber, List<JSONObject> filterSearchArray);

    JSONObject getHotelApartmentShopDetail(String shopSerialNumber,String currentCoords);

    List<JSONObject> getHotelApartmentRoomTypeList(String merchantMappingBluePlateSerialNumber);

    List<JSONObject> getHotelApartmentRoomTypeImageList(String shopSerialNumber);

    JSONObject getHotelApartmentRoomTypeDetail(String typeSerialNumber);

    List<JSONObject> getScenicSpotList(String currentCoords,String scenicSpotTagSerialNumber,String search);

    JSONObject getScenicSpotDetail(String scenicSpotSerialNumber);

    List<JSONObject> getScenicSpotImageList(String scenicSpotSerialNumber);

    List<JSONObject> getScenicSpotDetailChlidlList(String scenicSpotSerialNumber);

    List<JSONObject> getTouristRouteList(String touristRouteType,String search);

    JSONObject getTouristRouteDetail(String touristRouteSerialNumber);

    List<JSONObject> getTouristRouteDetailChlidlList(String touristRouteSerialNumber);
    List<JSONObject> getMerchantAliasTypeAllList();

    List<JSONObject> getDeliciousFoodSearch(String address, String merchantName, String shopName, String orderCondition, String orderType, String currentCoords,String[] merchantAliasTypeSerialNumber,
                                            String distanceParam,
                                            String beginPrice,
                                            String endPrice);

    List<JSONObject> getShopSearch(String search,String address, String merchantName, String shopName,
                                   String orderCondition, String orderType, String currentCoords,
                                   String[] merchantAliasTypeSerialNumber,String distanceParam,
                                   String beginPrice,
                                   String endPrice,String shopType,String villageNumber);

    List<JSONObject> getSuperMarkerSearch(String search,String address, String merchantName, String shopName, String orderCondition, String orderType, String currentCoords,String merchantAliasTypeSerialNumber);

    JSONObject getDeliciousFoodShopDetail(String shopSerialNumber, String currentCoords);

    List<JSONObject> getDishInfoList(String shopSerialNumber);

    JSONObject getSuperMarkerShopDetail(String shopSerialNumber, String currentCoords);

    List<JSONObject> getAgriculturalGoodsList(String shopSerialNumber);

    List<JSONObject> getAgriculturalGoodsSearch(String[] agriculturalSuppliesStoreGoodsTypeSerialNumber, String goodsName);

    JSONObject getAgriculturalGoodsDetail(String agriculturalSuppliesStoreGoodsSerialNumber);

    List<JSONObject> getAgriculturalGoodsShopList(String agriculturalSuppliesStoreGoodsSerialNumber,String currentCoords);

    List<JSONObject> getMyBookRoomList(String phone, String[] status);

    List<JSONObject> getMyShopFirstComments(String phone, String type,String shopParentCategorySerialNumber);

    List<JSONObject> getMyShopCommentsReplyMe(String commentSerialNumber, String type);

    List<JSONObject> getMyComplaints(String phone,  String status);

    JSONObject getMyComplaintsDetail(String complaintId);

    JSONObject getMyBookRoomDetail(String roomTypeBookingsSerialNumber,String phone);

    List<NewsVo> getNoticePublish(int i,String NewsTerminal);

    List<JSONObject> getScenicSpotStrategy(String scenicSpotSerialNumber);

    int updateScenicSpotStrategyViewCount(String scenicSpotStrategySerialNumber);

    List<JSONObject> getScenicSpotAllTagList();
    List<JSONObject> getTouristRouteAllTypeList();

    int updateTouristRouteViewCount(String touristRouteSerialNumber);

    JSONObject getScenicSpotStrategyDetail(String scenicSpotStrategySerialNumber);

    JSONObject getRoomCategorySerialNumberDetail(String string);

    JSONObject getMerchantAliasTypeSerialNumberDetail(String string);

    List<JSONObject> getCarouselConfig();

    JSONObject getMerchantAliasTypeDetail(String s);

    List<JSONObject> getSuperMarkerTypeAllList();


    List<JSONObject> getShopAliasTypeAllList(String shopParentCategorySerialNumber);

    JSONObject getViewDomain(String domainId, String type);

    void addViewCntDomain(String id);

    void addViewDomain(String domainId, String type);

    List<JSONObject> getHotFilterList(String shopType,String parentCategorySerialNumber);

    List<JSONObject> getHotFilterScenicSpot();

    List<JSONObject> getHotFilterArea(String parentCategorySerialNumber);

    List<JSONObject> getMerchantAliasImage(String shopSerialNumber);

    List<JSONObject> getStaticViewDomainByTypeMerchant(String type);

    List<JSONObject> getStaticViewDomainByTypeAgriculturalGoods(String type);

    List<JSONObject> getStaticViewDomainByTypeScenicSpot(String type);

    List<JSONObject> getAgriculturalGoodsType();

    List<JSONObject> getAgriculturalGoodsImages(String agriculturalSuppliesStoreGoodsSerialNumber);

    List<JSONObject> getHotelFilterRoomCategory();

    List<JSONObject> getHotelFilterHotelAliasType();

    List<JSONObject> getHotelApartmentShopDetailDishInfoPage(String shopSerialNumber);

    List<JSONObject> getMyBookDishListByRoomTypeBookingsSerialNumber(String roomTypeBookingsSerialNumber);

    List<JSONObject> getStaticImportentTourScencePrice(String scenicSpotSerialNumber);

    JSONObject getMicroAccountInformation(String openId);

    int updateMemberAccountInfo(String openld, String unionId, String contactPhone, String memberNike, String image, String sex, String birthday, String appId);

    List<JSONObject> getParkingList(String tagSerialNumber, String search, String km, String currentCoords);

    List<JSONObject> getShopBlackWhiteList(String commentType, String rankType, String shopParentCategorySerialNumber);

    int getMyComplaintsDraftCnt(String phone);
}
